package com.carkeeper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.carkeeper.dto.UserDTO;
import com.carkeeper.pojo.AbstractBasePO;
import lombok.Data;

import java.util.Date;
@TableName("tb_order_log")
@Data
public class OrderLogPO extends AbstractBasePO {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @TableField("handle_time")
    private Date handleTimeJdk;
    private String description;
    private String orderStatus;
    private Long orderId;
    private Long userId;
    @TableField("user_realname")
    private String userRealName;
    private Integer isDelete;
    @TableField(exist = false)
    private OrderPO order;
    @TableField(exist = false)
    private UserDTO userDTO;
}
